﻿using System;
using System.Runtime.Serialization;

namespace Informant.Services.CommonFaults
{
	[DataContract]
	public class AuthorizationFault
	{
		/// <summary>
		/// Gets or sets the message.
		/// </summary>
		/// <value>The message.</value>
		[DataMember]
		public String Message { get; set; }

		/// <summary>
		/// Initializes a new instance of the <see cref="AuthorizationFault"/> class.
		/// </summary>
		/// <param name="message">The message.</param>
		public AuthorizationFault(String message)
		{
			Message = message;
		}
	}
}
